<template>
  <div class="webbackground">
      <div>欢迎来到果冻后台管理系统</div>
      <div id="datatime"></div>
      <div>11</div>
  </div>
</template>

<script>
export default {
  name: '',
  props:{},
  data () {
    return {
    }
  },
  components: {},
  methods: {},
  mounted() {
        setInterval(
      //当前年月日倒计时
      "document.getElementById('datetime').innerHTML=new Date().toLocaleString();",
      1000
    );
  },
  computed: {},
  watch: {}
}
</script>

<style lang='scss' scoped>
.webbackground{
  display: flex;
}

</style>